package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ASchedulingExecutionVehicleMapper;
import com.ruoyi.system.domain.ASchedulingExecutionVehicle;
import com.ruoyi.system.service.IASchedulingExecutionVehicleService;

/**
 * 调度执行与车辆关联Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-04-02
 */
@Service
public class ASchedulingExecutionVehicleServiceImpl implements IASchedulingExecutionVehicleService 
{
    @Autowired
    private ASchedulingExecutionVehicleMapper aSchedulingExecutionVehicleMapper;

    /**
     * 查询调度执行与车辆关联
     * 
     * @param id 调度执行与车辆关联主键
     * @return 调度执行与车辆关联
     */
    @Override
    public ASchedulingExecutionVehicle selectASchedulingExecutionVehicleById(Long id)
    {
        return aSchedulingExecutionVehicleMapper.selectASchedulingExecutionVehicleById(id);
    }

    /**
     * 查询调度执行与车辆关联列表
     * 
     * @param aSchedulingExecutionVehicle 调度执行与车辆关联
     * @return 调度执行与车辆关联
     */
    @Override
    public List<ASchedulingExecutionVehicle> selectASchedulingExecutionVehicleList(ASchedulingExecutionVehicle aSchedulingExecutionVehicle)
    {
        return aSchedulingExecutionVehicleMapper.selectASchedulingExecutionVehicleList(aSchedulingExecutionVehicle);
    }

    /**
     * 新增调度执行与车辆关联
     * 
     * @param aSchedulingExecutionVehicle 调度执行与车辆关联
     * @return 结果
     */
    @Override
    public int insertASchedulingExecutionVehicle(ASchedulingExecutionVehicle aSchedulingExecutionVehicle)
    {
        return aSchedulingExecutionVehicleMapper.insertASchedulingExecutionVehicle(aSchedulingExecutionVehicle);
    }

    /**
     * 修改调度执行与车辆关联
     * 
     * @param aSchedulingExecutionVehicle 调度执行与车辆关联
     * @return 结果
     */
    @Override
    public int updateASchedulingExecutionVehicle(ASchedulingExecutionVehicle aSchedulingExecutionVehicle)
    {
        return aSchedulingExecutionVehicleMapper.updateASchedulingExecutionVehicle(aSchedulingExecutionVehicle);
    }

    /**
     * 批量删除调度执行与车辆关联
     * 
     * @param ids 需要删除的调度执行与车辆关联主键
     * @return 结果
     */
    @Override
    public int deleteASchedulingExecutionVehicleByIds(Long[] ids)
    {
        return aSchedulingExecutionVehicleMapper.deleteASchedulingExecutionVehicleByIds(ids);
    }

    /**
     * 删除调度执行与车辆关联信息
     * 
     * @param id 调度执行与车辆关联主键
     * @return 结果
     */
    @Override
    public int deleteASchedulingExecutionVehicleById(Long id)
    {
        return aSchedulingExecutionVehicleMapper.deleteASchedulingExecutionVehicleById(id);
    }
}
